﻿using System;
using ERDDiagram.Model;

namespace ERDDiagram.Design
{
    public class DesignDataService : IDataService
    {
        public void GetData(Action<DataItem, Exception> callback)
        {
            // Use this to create design time data

            var item = new DataItem("CRM 2011 ERD Designer [design]");
            callback(item, null);
        }


        public System.Collections.ObjectModel.ObservableCollection<ViewModel.EntityClass> GetEntities(Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }

        public ViewModel.EntityClass GetEntity(string EntityName, bool IncludeRelationships, string SchemaName, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public string GetDiagramData(string DiagramID, Action<DataItem, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public void SaveDiagramData(string DiagramID, string Data, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public string GetDefaultSolutionId()
        {
            throw new NotImplementedException();
        }


        public void DeleteEntity(string EntityID, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }




        public void DeleteField(string entityName, string attribute, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public System.Collections.ObjectModel.ObservableCollection<ViewModel.SolutionClass> GetSolutions(Action<ViewModel.SolutionClass, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public System.Collections.ObjectModel.ObservableCollection<ViewModel.EntityClass> GetEntitiesBySolution(Guid SolutionId, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }


        public ViewModel.EntityClass GetEntityById(Guid entityId, Action<ViewModel.EntityClass, Exception> callback)
        {
            throw new NotImplementedException();
        }
    }
}